package com.bajiao.entity.store;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 店铺表
 * @Author: FanJq
 * @Date:   2024-12-12
 * @Version: V1.0
 */
@Data
@TableName("tb_store")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="tb_store对象", description="店铺表")
public class Store {

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键", required = true, position = 0)
	private String id;
	/**申请记录id*/
	@Excel(name = "申请记录id", width = 15)
    @ApiModelProperty(value = "申请记录id", required = true, position = 10)
	private String applyId;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题", required = true, position = 20)
	private String title;
	/**封面*/
	@Excel(name = "封面", width = 15)
    @ApiModelProperty(value = "封面", required = true, position = 30)
	private String cover;
	/**0-闭店 1-营业中 2-休息中*/
	@Excel(name = "0-闭店 1-营业中 2-休息中", width = 15)
    @ApiModelProperty(value = "0-闭店 1-营业中 2-休息中", required = true, position = 40)
	private int status;
	/**店铺地址*/
	@Excel(name = "店铺地址", width = 15)
    @ApiModelProperty(value = "店铺地址", required = true, position = 50)
	private String address;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度", required = true, position = 60)
	private String longitude;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度", required = true, position = 70)
	private String latitude;
	/**店铺联系电话*/
	@Excel(name = "店铺联系电话", width = 15)
    @ApiModelProperty(value = "店铺联系电话", required = true, position = 80)
	private String mobile;
	/**营业时间*/
	@Excel(name = "营业时间", width = 15)
    @ApiModelProperty(value = "营业时间", required = true, position = 90)
	private String openHours;
	/**行业id*/
	@Excel(name = "行业id", width = 15)
    @ApiModelProperty(value = "行业id", required = true, position = 100)
	private String industryId;
	/**简介*/
	@Excel(name = "简介", width = 15)
    @ApiModelProperty(value = "简介", required = true, position = 110)
	private String intro;
	/**店铺照片*/
	@Excel(name = "店铺照片", width = 15)
    @ApiModelProperty(value = "店铺照片", required = true, position = 120)
	private String sliderImage;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", required = true, position = 130)
	private Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间", required = true, position = 140)
	private Date updateTime;

	@ApiModelProperty(value = "店铺浏览量")
	private Long browse;

	@ApiModelProperty(value = "店铺所在省")
	private String province;

	@ApiModelProperty(value = "店铺所在省编码")
	private String provinceCode;

	@ApiModelProperty(value = "店铺所在城市")
	private String city;

	@ApiModelProperty(value = "店铺所在城市编码")
	private String cityCode;

	@ApiModelProperty(value = "店铺所在区/县")
	private String district;

	@ApiModelProperty(value = "店铺所在区/县编码")
	private String districtCode;

	@ApiModelProperty("1-入驻 2-录入")
	private Integer type;

	@ApiModelProperty("删除标识 0-否 1-是")
	private Integer delFlag;
}
